<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
</head>
<body>
    <div class="layui-form timo-compile">
    <form th:action="@{/pres//save}">
        <input type="hidden" name="id" th:if="${prescriptionsInfo}" th:value="${prescriptionsInfo.id}">
        <div class="layui-form-item">
            <label class="layui-form-label">来源ID</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="originId" placeholder="请输入来源ID" th:value="${prescriptionsInfo?.originId}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">名称</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="name" placeholder="请输入名称" th:value="${prescriptionsInfo?.name}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">别名</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="alias" placeholder="请输入别名" th:value="${prescriptionsInfo?.alias}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">出处</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="provenance" placeholder="请输入出处" th:value="${prescriptionsInfo?.provenance}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">分类</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="classification" placeholder="请输入分类" th:value="${prescriptionsInfo?.classification}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">功用</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="jfunction" placeholder="请输入功用" th:value="${prescriptionsInfo?.jfunction}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">主治</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="jattending" placeholder="请输入主治" th:value="${prescriptionsInfo?.jattending}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">趣味记忆</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="memories" placeholder="请输入趣味记忆" th:value="${prescriptionsInfo?.memories}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">歌诀</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="rhymeFormulas" placeholder="请输入歌诀" th:value="${prescriptionsInfo?.rhymeFormulas}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">组成</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="zcomposition" placeholder="请输入组成" th:value="${prescriptionsInfo?.zcomposition}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">用法用量</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="usages" placeholder="请输入用法用量" th:value="${prescriptionsInfo?.usages}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">制法</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="saute" placeholder="请输入制法" th:value="${prescriptionsInfo?.saute}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">功用</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="zfunction" placeholder="请输入功用" th:value="${prescriptionsInfo?.zfunction}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">主治</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="zattending" placeholder="请输入主治" th:value="${prescriptionsInfo?.zattending}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">方义</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="fangyi" placeholder="请输入方义" th:value="${prescriptionsInfo?.fangyi}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">配伍特点</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="comFeatures" placeholder="请输入配伍特点" th:value="${prescriptionsInfo?.comFeatures}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">运用</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="apply" placeholder="请输入运用" th:value="${prescriptionsInfo?.apply}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">加减化裁</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="cut" placeholder="请输入加减化裁" th:value="${prescriptionsInfo?.cut}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">使用注意</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="useAttention" placeholder="请输入使用注意" th:value="${prescriptionsInfo?.useAttention}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">化裁方之间的鉴别</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="identification" placeholder="请输入化裁方之间的鉴别" th:value="${prescriptionsInfo?.identification}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">重要文献摘要</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="abstracts" placeholder="请输入重要文献摘要" th:value="${prescriptionsInfo?.abstracts}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">简介</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="intro" placeholder="请输入简介" th:value="${prescriptionsInfo?.intro}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">各家论述</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="discourse" placeholder="请输入各家论述" th:value="${prescriptionsInfo?.discourse}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">注意事项</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="considerations" placeholder="请输入注意事项" th:value="${prescriptionsInfo?.considerations}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">成分</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="jcomposition" placeholder="请输入成分" th:value="${prescriptionsInfo?.jcomposition}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">标题</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="title" placeholder="请输入标题" th:value="${prescriptionsInfo?.title}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">关键词</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="keywords" placeholder="请输入关键词" th:value="${prescriptionsInfo?.keywords}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">描述</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="description" placeholder="请输入描述" th:value="${prescriptionsInfo?.description}">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">备注</label>
            <div class="layui-input-block">
                <textarea placeholder="请输入内容" class="layui-textarea" name="remark">[[${prescriptionsInfo?.remark}]]</textarea>
            </div>
        </div>
        <div class="layui-form-item timo-finally">
            <button class="layui-btn ajax-submit"><i class="fa fa-check-circle"></i> 保存</button>
            <button class="layui-btn btn-secondary close-popup"><i class="fa fa-times-circle"></i> 关闭</button>
        </div>
    </form>
</div>
<script th:replace="/common/template :: script"></script>
</body>
</html>